package sz.szsmk.citizencard.ui.newversion.bean

import java.io.Serializable
import java.util.*

/**
 *  author : hyt
 *  date : 2020/9/8
 *  description :
 */
class MapCollectionBean :Serializable{

    var startStation :String ?=null
    var endStation :String ?=null


    override fun equals(other: Any?): Boolean {
        var temp = other as MapCollectionBean
        return temp.startStation.equals(this.startStation)  && temp.endStation.equals(this.endStation)
    }

    override fun hashCode(): Int {
        var result = startStation?.hashCode() ?: 0
        result = 31 * result + (endStation?.hashCode() ?: 0)
        return result
    }

}